Two pairs of electrodes control the position of the mirror by electrostatic attraction.
2.
In a typical transistor, like those found by the millions on a computer chip, a voltage from a gate electrode controls the current that flows between two other electrodes, known as the source and drain, across a semiconducting material.